﻿using RbacPermissionManage.Application.Menus.Dto;

namespace RbacPermissionManage.Application.Menus
{
    public interface IMenuServices
    {
        Task<ResultDto> CreateAsync(MenuCreateDto createDto);
        Task<ResultDto<List<TreeDto>>> GetNodesAsync(SearchDto searchDto);
        Task<ResultDto<TreeDto>> BackfillAsync(int MenuId);
        Task<ResultDto> UpdateAsync(MenuUpdateDto updateDto);
        Task<ResultDto<bool>> DeleteAsync(int MenuId);
        Task<ResultDto<bool>> BatchDelAsync(List<int> menuIds);
    }
}